package cn.com.cfae.iras.doc.analyze.parse.model;


import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 受限资产
 */
public class SXZCModel extends BizBaseModel {
    public static String MODEL_NAME = "SXZC";
    private static Map<String, String> items = new HashMap<>();

    /**
     * 受限资产
     */
    private static String SXZC = "SXZC";

    static {
        items.put(SXZC, "受限资产|账面价值|抵押物账面价值|担保余额");
    }

    public static List<ExtractItem> createExtractItemList() {
        List<ExtractItem> extractItemList = new ArrayList<>();
        items.forEach((key, value) -> {
            ExtractItem extractItem = new ExtractItem();
            extractItem.setItemName(key);
            extractItem.setSynonyms(value.split(SYNONYM_SPLIT_CHAR));
            extractItemList.add(extractItem);
        });
        return extractItemList;
    }

}
